package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户对象 user
 *
 * @author ruoyi
 * @date 2023-06-05
 */
public class User extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户编号 */
    private Long uSn;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String uname;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String uphone;

    /** 用户身份证 */
    @Excel(name = "用户身份证")
    private String uId;

    /** 用户信用 */
    @Excel(name = "用户信用")
    private Long uCredit;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String address;

    public void setuSn(Long uSn)
    {
        this.uSn = uSn;
    }

    public Long getuSn()
    {
        return uSn;
    }
    public void setUname(String uname)
    {
        this.uname = uname;
    }

    public String getUname()
    {
        return uname;
    }
    public void setUphone(String uphone)
    {
        this.uphone = uphone;
    }

    public String getUphone()
    {
        return uphone;
    }
    public void setuId(String uId)
    {
        this.uId = uId;
    }

    public String getuId()
    {
        return uId;
    }
    public void setuCredit(Long uCredit)
    {
        this.uCredit = uCredit;
    }

    public Long getuCredit()
    {
        return uCredit;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("uSn", getuSn())
                .append("uname", getUname())
                .append("uphone", getUphone())
                .append("uId", getuId())
                .append("uCredit", getuCredit())
                .append("address", getAddress())
                .toString();
    }
}
